<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>{:C('SERVER_NAME')}</title>
	<link rel="stylesheet" type="text/css" href="__PUBLICADMIN__/css/style.css">
</head>
<body>
	<div class="content p50">
		<div class="content-title"><h2>新闻订单列表</h2></div>
		<div class="p20">
		<form action="__URL__/orderList" method="get">
			<div class="search-box">
				
				<span class="search-title">用户名：</span><span class="search fl"><input  type="text" name="username" value="{$keyword.username}" placeholder="搜索"></span>
				<span class="search-title">标题：</span><span class="search fl"><input type="text" name="title" value="{$keyword.title}" placeholder="搜索"></span>
				<span class="search-select"><select name="apply"><option value="0">状态</option><option value="1">未审核</option><option value="3">未通过</option><option value="4">进行中</option><option value="5
				">已完成</option></select></span>
				<input type="submit" value="" class="search-btn fl">
				
			</div>
		</form>	
			<table class="table">
				<thead>
					<tr>
						<th>序号</th>
						<th>新闻标题</th>
						<th>订单额</th>
						<th>下单时间</th>			
						<th>状态</th>

						<th>用户</th>
						<th>类型</th>
						<th>操作</th>
					</tr>
				</thead>
				<tbody>
				<volist name="comList" id="vo">
					<tr>
						<td>{$i}</td>
				
						<td>{$vo.news_title}</td>
						<td>{$vo.order_price}</td>
						<td>{$vo.add_time}</td>

						<td><if condition="$vo.is_ok eq '1' ">已完成<elseif condition="$vo.is_ok eq '0' and $vo.is_apply eq '1' " />进行中<elseif condition="$vo.is_apply eq '2' "/>未通过<else/>未审核</if></td>

						<td>{$vo.username}</td>
						<td><if condition="$vo.type eq '1' ">套餐<else/>自选 </if></td>
						<td><a href="__URL__/orderDetail/id/{$vo.id}">详情</a></td>
					</tr>
				</volist>
				</tbody>
			</table>
			<div class="page">
				{$page}
			</div>
		</div>	

	</div>

	<script type="text/javascript" src="__PUBLIC_/js/jquery-1.7.min.js"></script>
	<script type="text/javascript" src="__PUBLICADMIN__/js/page.js"></script>
</body>
</html>